﻿function removeViewState() {
    var viewstate = document.getElementById("__VIEWSTATE");
    viewstate.parentNode.removeChild(viewstate);
}